package com.dq.demo.ui.fragment;

import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.dq.wallpaper.R;

import butterknife.ButterKnife;
import butterknife.Unbinder;

public class FoundFragment extends BaseFragment {

    public Unbinder unbinder;

    public static FoundFragment createFragment(){
        FoundFragment foundFragment = new FoundFragment();
        return foundFragment;
    }

    @Nullable
    @Override
    public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
        mView = inflater.inflate(getLayoutId(), container, false);
        unbinder = ButterKnife.bind(this, mView);
        mIsViewCreated = true;
        return mView;
    }

    @Override
    public int getLayoutId() {
        return R.layout.fragment_found;
    }

    @Override
    public void initData() {

    }

    @Override
    public void initView() {

    }

    @Override
    public void beforeDestroy() {

    }

    @Override
    public void onResume() {
        super.onResume();
    }

    @Override
    public void onVisible() {
        super.onVisible();
    }

    @Override
    public void onHidden() {
        super.onHidden();
    }

    @Override
    public void onDestroyView() {
        super.onDestroyView();
        unbinder.unbind();
    }

    @Override
    public void onDestroy() {
        super.onDestroy();
    }
}